package com.imooc.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(value = "测试接口", tags = {"测试接口"})
public class HelloController extends BaseController {

    @GetMapping("/hello")
    @ApiOperation(value = "测试接口", notes = "测试接口")
    public String info( ) {
        //判断名字不为空
        return "IMoocJSONResult.ok()";
    }



}
